package com.company.management.modal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author robet.li
 * @since 2025-03-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("T_PerformanceResults")
@ApiModel(value="Performanceresults对象", description="")
public class PerformanceResults implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ResultID", type = IdType.AUTO)
    private Integer resultId;

    @TableField("EvaluationID")
    private Integer evaluationId;

    /**
     * 考核是否通过，0不通过，1通过
     */
    @TableField("FIsSuccess")
    private Integer fisSuccess;

//    @TableField("PerformanceScore")
//    private Integer performanceScore;

    @TableField("Comments")
    private String comments;

    @TableField("CreateId")
    private Integer createId;

    @TableField("CreateDateTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createDateTime;

    @TableField("UserId")
    private Integer userId;

}
